﻿using System;

namespace OConf.Common
{
    public class TimeCore
    {
        /// <summary>
        /// 获取当前时间戳（单位：毫秒）
        /// </summary>
        /// <returns></returns>
        public static long GetNowTimeOffset()
        {
            return new DateTimeOffset(DateTime.Now).ToUnixTimeSeconds();
        }
    }
}
